package pojo;

/**
 * @author LiangHaiBo
 * @version 1.0
 * @date 2021.8.27 下午 16:03
 */
public class Pro {
    private int id ;
    private String pname ;
    private int pprice ;
    private String pdesc ;

    public Pro() {
    }

    public Pro(int id, String pname, int pprice, String pdesc) {
        this.id = id;
        this.pname = pname;
        this.pprice = pprice;
        this.pdesc = pdesc;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getPname() {
        return pname;
    }

    public void setPname(String pname) {
        this.pname = pname;
    }

    public int getPprice() {
        return pprice;
    }

    public void setPprice(int pprice) {
        this.pprice = pprice;
    }

    public String getPdesc() {
        return pdesc;
    }

    public void setPdesc(String pdesc) {
        this.pdesc = pdesc;
    }

    @Override
    public String toString() {
        return "Product{" +
                "id=" + id +
                ", pname='" + pname + '\'' +
                ", pprice=" + pprice +
                ", pdesc='" + pdesc + '\'' +
                '}';
    }
}
